package smartlifev30.com.sdk.bean.response;

import java.util.List;

/**
 * 防区查询
 * Created by uesr on 2018/8/9.
 */

public class ZoneQueryResponse {


    /**
     * end : 0
     * from : 000c4355fc6b
     * msg_class : zone_mgmt
     * msg_id : ANDQS-086
     * msg_name : zone_query
     * msg_type : response
     * msg_version : 0.1
     * status : 0
     * to : 18782918305
     * token : 259949bada3543c2b5b894d0c6cf8252
     * zone_list : [{"create_time":"2018-06-21 09:40:02","delay":0,"id":1,"name":"在家","sensor_list":[{"id":31,"state":"on"},{"id":33,"state":"on"}],"state":"on"}]
     */

    private int end;
    private String from;
    private String msg_class;
    private String msg_id;
    private String msg_name;
    private String msg_type;
    private String msg_version;
    private int status;
    private String to;
    private String token;
    private List<ZoneListBean> zone_list;

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getMsg_class() {
        return msg_class;
    }

    public void setMsg_class(String msg_class) {
        this.msg_class = msg_class;
    }

    public String getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }

    public String getMsg_name() {
        return msg_name;
    }

    public void setMsg_name(String msg_name) {
        this.msg_name = msg_name;
    }

    public String getMsg_type() {
        return msg_type;
    }

    public void setMsg_type(String msg_type) {
        this.msg_type = msg_type;
    }

    public String getMsg_version() {
        return msg_version;
    }

    public void setMsg_version(String msg_version) {
        this.msg_version = msg_version;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<ZoneListBean> getZone_list() {
        return zone_list;
    }

    public void setZone_list(List<ZoneListBean> zone_list) {
        this.zone_list = zone_list;
    }

    public static class ZoneListBean {
        /**
         * create_time : 2018-06-21 09:40:02
         * delay : 0
         * id : 1
         * name : 在家
         * sensor_list : [{"id":31,"state":"on"},{"id":33,"state":"on"}]
         * state : on
         */

        private String create_time;
        private int delay;
        private int id;
        private String name;
        private String state;
        private List<SensorListBean> sensor_list;

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public int getDelay() {
            return delay;
        }

        public void setDelay(int delay) {
            this.delay = delay;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public List<SensorListBean> getSensor_list() {
            return sensor_list;
        }

        public void setSensor_list(List<SensorListBean> sensor_list) {
            this.sensor_list = sensor_list;
        }

        public static class SensorListBean {
            /**
             * id : 31
             * state : on
             */

            private int id;
            private String state;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }
        }
    }
}
